package com.dd.cloud.user.mapper.classroom;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dd.cloud.user.entity.classroom.MediaClassify;
import com.dd.cloud.user.req.classroom.QueryMediaClassifyReq;
import com.dd.cloud.user.res.classroom.MediaClassifyRes;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 媒体类型表 Mapper 接口
 * </p>
 *
 * @author czg
 * @since 2022-10-08
 */
public interface MediaClassifyMapper extends BaseMapper<MediaClassify> {

    /**
     * 查询云课堂所有的类型
     * @return
     */
    Page<MediaClassifyRes> getClassifyPage(Page page, @Param("req") QueryMediaClassifyReq req);

}
